<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Welcome to CodeIgniter</title>

<link href="<?php echo base_url()?>/css/master.css" media="screen" rel="stylesheet" type="text/css">

</style>
</head>
<body>

	<div id="container">
		<h1>Welcome to CodeIgniter!</h1>

		<div id="body">
		
			<?php echo validation_errors(); ?>
			
			<?php echo form_open('register'); ?>
			<table>
				<tr>
					<td><?php echo form_label('Email','username')?></td>
					<td><?php echo form_input('username',set_value('username'))?></td>
				</tr>
				<tr>
					<td><?php echo form_label('Last Name','lastname')?></td>
					<td><?php echo form_input('lastname',set_value('lastname'))?></td>
				</tr>
				<tr>
					<td><?php echo form_label('First Name','firstname')?></td>
					<td><?php echo form_input('firstname', set_value('firstname'))?></td>
				</tr>
				<tr>
					<td><?php echo form_label('Password','password')?></td>
					<td><?php echo form_input('password', set_value('password'))?></td>
				</tr>
				<tr>
					<td><?php echo form_label('Confirm Password','passconf')?></td>
					<td><?php echo form_input('passconf', set_value('passconf'))?></td>
				</tr>
				<tr>
					<td colspan="2"><?php echo form_submit('mysubmit', 'Register!');?></td>
				</tr>
			</table>
			<?php echo form_close();?>
		</div>

		<p class="footer">
			Page rendered in <strong>{elapsed_time}</strong> seconds
		</p>

	</div>

</body>
</html>